Skip to content

Source Cloud SQL Auth Proxy connection vars from secrets in apphosting.yaml#93

Merged
taterhead247 merged 3 commits intofeat-enable-sql-auth-proxyfrom
copilot/sub-pr-92
Mar 12, 2026
Merged

Source Cloud SQL Auth Proxy connection vars from secrets in apphosting.yaml#93
taterhead247 merged 3 commits intofeat-enable-sql-auth-proxyfrom
copilot/sub-pr-92

Conversation

Copy link
Copy Markdown
Contributor

Copilot AI commented Mar 11, 2026

  • Initial plan established
  • Convert INSTANCE_UNIX_SOCKET, DB_USER, DB_NAME to free value: environment variables in apphosting.yaml
  • DB_PASSWORD remains a secret: reference (sensitive)
  • .env.example includes commented-out placeholders for all Cloud SQL Auth Proxy vars

💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

…ing.yaml

Co-authored-by: taterhead247 <26818765+taterhead247@users.noreply.github.com>
Copilot AI changed the title [WIP] Address feedback on SQL Auth Proxy socket option implementation Source Cloud SQL Auth Proxy connection vars from secrets in apphosting.yaml Mar 11, 2026
@taterhead247
Copy link
Copy Markdown

@copilot , can we make these environment variables (free) instead of secrets (not free)?

Co-authored-by: taterhead247 <26818765+taterhead247@users.noreply.github.com>
Copy link
Copy Markdown
Contributor Author

Copilot AI commented Mar 12, 2026

@copilot , can we make these environment variables (free) instead of secrets (not free)?

Done in c259c7b. INSTANCE_UNIX_SOCKET, DB_USER, and DB_NAME are back to plain value: env vars (free). DB_PASSWORD stays as a secret: since it's the only sensitive value among the four.

@taterhead247 taterhead247 marked this pull request as ready for review March 12, 2026 03:29
@taterhead247 taterhead247 merged commit 9e06033 into feat-enable-sql-auth-proxy Mar 12, 2026
4 of 5 checks passed
Copilot stopped work on behalf of taterhead247 due to an error March 12, 2026 03:31
evanpetzoldt added a commit that referenced this pull request Mar 12, 2026
* enabled sql auth proxy socket option for db connection

* fixing db_password name and reference

* Source Cloud SQL Auth Proxy connection vars from secrets in apphosting.yaml (#93)

Just updating .env.example. Ended up not using secrets for non-secret stuff.

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants